package exception;

public class InvalidConfigException extends Exception {
	private static final long serialVersionUID = -6958662314818009535L;
	private String errorMessage;

	public InvalidConfigException() {
	}

	public InvalidConfigException(String attributeName) {
		super("Invalid attribute: " + attributeName);
		this.errorMessage = attributeName;
	}

	public String getAttributeName() {
		return errorMessage;
	}
}
